package java8_10;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Week {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (true) {
            System.out.println("1-7之间的数字，0退出：");
            int day = in.nextInt();
            if (day == 0) {
                break;
            }
            switch (day) {
                case 1:
                    System.out.println("周一");
                    break;
                case 2:
                    System.out.println("zhou 2");
                    break;
                    //。。。
                default:
                    System.out.println("输入错误,请输入1-7之间的数字：");
                    break;
            }
        }
    }
}
